package com.oocl.comparetor;

import java.util.Comparator;

import com.oocl.modle.Customer;

public class IdComparetor implements Comparator<Customer>{

	public int compare(Customer o1, Customer o2) {
		
		return o1.getId()-o2.getId();
	}
	
}
